import { uploadAPI } from '@/api/uploadAPI'

const actions = {
  async uploadAction(context, file) {
    const { data } = await uploadAPI(file)
    return data
  }
}

const mutations = {}

const state = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
